package com.cat.bridge;

/**
 * @author cat
 * @version 2025/5/22 10:19
 * @description
 * @since JDK17
 */

public class Client {
    public static void main(String[] args) {
        Mac mac = new Mac(new AviFile());
        mac.play("mac.avi");
        mac = new Mac(new RmvbFile());
        mac.play("mac.rmvb");
        System.out.println("========================");
        Windows windows = new Windows(new AviFile());
        windows.play("windows.avi");
        windows = new Windows(new RmvbFile());
        windows.play("windows.rvmb");
    }
}
